<!doctype html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="" />
	</head>

	<body>
		<div>淘宝移动端开发</div>
		
		
		<script type="text/javascript">
			var scale = 1 / window.devicePixelRatio;
			document.querySelector('meta[name="viewport"]').setAttribute('content','width=device-width,initial-scale=' + scale + ', maximum-scale=' + scale + ', minimum-scale=' + scale + ', user-scalable=no');
			document.documentElement.style.fontSize = document.documentElement.clientWidth / 10 + 'px';
		</script>
	</body>

</html>
